<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<% request.setCharacterEncoding("UTF-8");%>
<%@ page contentType="text/html; charset=UTF-8"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>报名信息列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
<!--
.td {
	font-size: 14px;
	text-decoration: none;
}
.12 {
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}
a:link {
	font-size: 14px;
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a.b:link {
	color: #333333;
	text-decoration: none;
	font-size: 12px;
}
a.b:active {
	font-size: 12px;
	color: #666666;
	text-decoration: none;
}
a.b:hover {
	font-size: 12px;
	color: #666666;
	text-decoration: underline;
}
a.b:visited {
	font-size: 12px;
	color: #666666;
	text-decoration: none;
}
.xx {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.zx {
	border-top-width: 1.0px;
	border-right-width: 1.0px;
	border-bottom-width: 1.0px;
	border-left-width: 1.0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dotted;
	border-left-style: none;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.tiao {
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #0099CC;
	border-right-color: #0099CC;
	border-bottom-color: #0099CC;
	border-left-color: #0099CC;
	border-top-width: 1.0px;
	border-right-width: 1.0px;
	border-bottom-width: 1.0px;
	border-left-width: 1.0px;
}
.da {
	border-top-width: 1.0px;
	border-right-width: 1.0px;
	border-bottom-width: 1.0px;
	border-left-width: 1.0px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.zy {
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
}
.y {
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
}
-->
</style>
<link href="css/moban.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.bianti {
	font-size: 14px;
	line-height: 1.5;
	color: #FFFFFF;
	text-decoration: none;
}
.lanbianshang {
	border-top-width: 3px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 3px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #0066CC;
	border-right-color: #0066CC;
	border-bottom-color: #0066CC;
	border-left-color: #0066CC;
}
.hongxian {
}
a.14:link {
	font-size: 14px;
	line-height: 1.5;
	color: #FF0000;
	text-decoration: underline;
}
a.14:hover {
	font-size: 14px;
	line-height: 1.5;
	color: #FF0000;
	text-decoration: none;
}
a.14:active {
	font-size: 14px;
	line-height: 1.5;
	color: #FF0000;
	text-decoration: none;
}
a.14:visited {
	font-size: 14px;
	line-height: 1.5;
	color: #FF0000;
	text-decoration: underline;
}
-->
</style>
<link href="ruanjianfuwu/css/2jihang.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url(css/hongxianshang.css);
-->
</style>
<style type="text/css">
<!--
.12x {
	font-size: 12px;
	line-height: 1.5;
	color: #FF0000;
	text-decoration: underline;
}
-->
</style>
  </head>
  

  <body topmargin="0">


 <c:if test="${yi>1}">
 
  <form action="WorkYisousuo.action" method="post"></c:if>
  <c:if test="${yii>1}">
 <form action="Worksousuo.action" method="post"></c:if>
<table width="780" height="400" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="778" height="473" colspan="2" valign="top"> <table width="780" height="105" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="100" valign="top" background="images/wancheng(fan15).jpg"> 
            <table width="100%" height="64" border="0" cellpadding="0" cellspacing="0" class="hongxianshang">
              <tr> 
                <td width="22%" height="23">&nbsp;</td>
                <td width="78%">&nbsp;</td>
              </tr>
              <tr valign="bottom"> 
                <td colspan="2">&nbsp; </td>
              </tr>
            </table>
            <table width="100%" height="36" border="0" cellpadding="0" cellspacing="0">
              <tr class="td"> 
                <td width="203" height="36" align="center" valign="bottom"> <div align="left" class="12"> 
                    　 </div></td>
                <td width="8" align="center" valign="middle"><strong><font color="#FFFFFF">|</font></strong></td>
                <td width="73" align="center" valign="bottom"> <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                    <tr bgcolor="#009900"> 
                      <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" > <div align="center" class="td"><a href="http://www.ascenttech.com.cn"><font color="#FFFFFF"><strong>首页</strong></font></a><a href="waibaofuwu/peixunfuwu.htm"><font color="#FFFFFF"></font></a></div></td>
                    </tr>
                  </table></td>
                <td width="8" align="center" valign="middle"><strong><font color="#FFFFFF">|</font></strong></td>
                <td width="74" align="center" valign="bottom"><table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                    <tr bgcolor="#009900"> 
                      <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" > <div align="center" class="td"><a href="http://www.ascenttech.com.cn/grpx.htm"><font color="#FFFFFF"><strong>个人培训</strong></font></a></div></td>
                    </tr>
                  </table></td>
                <td width="13" align="center" valign="middle"><font color="#FFFFFF"><strong>|</strong></font><font color="#FFFFFF" size="-1">&nbsp;</font></td>
                <td width="73" align="center" valign="middle"> <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                    <tr bgcolor="#009900"> 
                      <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" > <div align="center" class="td"><a href="http://www.ascenttech.com.cn/qypx.htm"><font color="#FFFFFF"><strong>企业培训</strong></font></a><a href="waibaofuwu/index.htm"><font color="#FFFFFF"></font></a><a href="waibaofuwu/peixunfuwu.htm"><font color="#FFFFFF"></font></a></div></td>
                    </tr>
                  </table></td>
                <td width="8" align="center" valign="middle"><font color="#FFFFFF"><strong>|</strong></font></td>
                <td width="74" align="center" valign="middle"> <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                    <tr bgcolor="#009900"> 
                      <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" > <div align="center" class="td"><a href="http://www.ascenttech.com.cn/waibaofuwu/ruanjianwaibaofuwu.htm"><font color="#FFFFFF"><strong>软件外包</strong></font></a><a href="waibaofuwu/peixunfuwu.htm"><font color="#FFFFFF"></font></a></div></td>
                    </tr>
                  </table></td>
                <td width="8" align="center" valign="middle"><font color="#FFFFFF"><strong>|</strong></font></td>
                <td width="74" align="center" valign="middle"> <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                    <tr bgcolor="#009900"> 
                      <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" ><div align="center" class="td"><font color="#FFFFFF"><strong class="td"><a href="http://www.ascenttech.com.cn/ruanjianfuwu/hexinchanpin.htm" class="bianti">软件服务</a></strong></font></div></td>
                    </tr>
                  </table></td>
                <td width="8" align="center" valign="middle"><font color="#FFFFFF"><strong>|</strong></font></td>
                <td width="74" align="center" valign="middle"> <div align="center"> 
                    <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                      <tr bgcolor="#009900"> 
                        <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" > <div align="center" class="td"><font color="#FFFFFF"><strong class="td"><a href="http://www.ascenttech.com.cn/gongsjianjie/gongsjianjie.htm" class="bianti">关于我们</a></strong></font></div></td>
                      </tr>
                    </table>
                  </div></td>
                <td width="8" align="center" valign="middle"> <div align="center"><font color="#FFFFFF"><strong>|</strong></font></div></td>
                <td width="74" align="center" valign="middle"> <div align="center"> 
                    <table border="0" width="73" cellspacing="1" cellpadding="0" height="36" align="left">
                      <tr bgcolor="#009900"> 
                        <td bgcolor="#F01F25" onMouseOver="this.bgColor = '#1165A1'" 
onMouseOut="this.bgColor = '#F01F25'" ><div align="center" class="td"><font color="#FFFFFF"><strong class="td"><a href="#" class="bianti">在线论坛</a></strong></font></div></td>
                      </tr>
                    </table>
                  </div>
                  <div align="left"><font color="#FFFFFF"></font></div></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="783" height="72%" border="0" cellpadding="0" cellspacing="0">
        <tr class="xx"> 
          <td width="783" height="527" valign="top" bordercolor="#999999" class="xx"> 
            <TABLE class=toolbar height=27 cellSpacing=0 cellPadding=0 width="100%" 
border=0>
              <TBODY>
                <TR class="12"> 
                  <TD width="90%"> <table width="43%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td width="24%" height="18"> <div align="center"><a href="tianjia.htm" class="mobanse"><font><a href='List.action?sign=0'>未处理用户</a></font></div></td>
                        <td width="3%">&nbsp;</td>
                        <td width="24%" ><div align="center"><a href="kecheng.htm" class="mobanse"><font><a href='WorkYichuli.action?sign=1'>已处理用户</a></font></a></div></td>
                        <td width="5%">&nbsp;</td>
                        <td width="24%"> 
                          <div align="center"><a href="#" class="mobanse"><font>&nbsp</font></a></div></td>
                      </tr>
                    </table></TD>
                  <TD width="10%" align=right><div align="left"><a href="Logout.action">退出系统</a></div></TD>
                </TR>
              </TBODY>
            </TABLE>
            <DIV class=scroll id=div style="WIDTH: 100%; HEIGHT: 500px"> 
              <TABLE class=tablelist borderColor=#e5eaf0 cellSpacing=1 width="100%" 
  border=1>    
                <TBODY>
                  <TR class=tHeader> 
                    <TD height=25 colSpan=6 align=left class="12"><strong>| 搜索条件 
                      | </strong></TD>
                  </TR>
                  <TR>  
                    <TD width=85 height=21 align=right class="12">姓名：</TD>
                    <TD align=middle width=159 height=21><div align="left">
                       
                        <input type="text" size=12 name="name" id="classname">
                      </div></TD>
                    <TD width=87 align=right class="12">性别：</TD>
                    <TD align=middle width=119> <div align="left"><span class="12"> 
                        <input name="sex"  type="radio" value="男" checked>
                        男 
                        <input type="radio" name="sex" value="女">
                        女</span> </div></TD>
                    <TD width=157 align=right class="12">报名时间：</TD>
                    <TD align=middle width=137> <div align="left">
                        
               <input type="text" size=12 name="time" id="time">
      
                      </div></TD>
                  </TR>
                  <TR> 
                    <TD width=85 height=21 align=right class="12">固定电话：</TD>
                    <TD height=21 colspan="5" align=middle> <div align="left">
                        
           <input type="text" size=18 name="phone" id="phone" ><input type="submit" value="搜索">
                      </div></TD>
                  </TR>
                  <TR align="left" class=tHeader> 
                    <TD bgColor=#e5eaf0 colSpan=6 height=10> 
                      <DIV class=button style="WIDTH: 48px; HEIGHT: 18px" onclick=""><IMG height=9 
      hspace=2 src="images/ax0.gif" width=9 align=absMiddle vspace=2 
      border=0><span class="12"><strong>搜索</strong></span></DIV></TD>
                  </TR> 
                </TBODY>
 
              </TABLE>
            
              <table class=tablelist bordercolor=#e5eaf0 cellspacing=1 width="100%" 
  border=1>
                <tbody>
                  <tr class=12> 
                    <td width="12%" align=middle><div align="center">姓名</div></td>
                    <td width="6%" align=middle><div align="center">性别</div></td>
                    <td width="24%" align=middle><div align="center">报名时间</div></td>
                    <td width="24%" align=middle><div align="center">操作</div></td>
                  </tr>
                    <s:iterator value="li1" status="index">
                  <tr> 
                    <td align=middle class="12" style="HEIGHT: 21px"> <div align="center"><s:property value="name"/></div></td>
                    <td align=middle class="12" style="HEIGHT: 21px"> <div align="center"><s:property value="gender"/></div></td>
                    <td align=middle class="12" style="HEIGHT: 21px"><div align="center"><s:property value="createtime"/></div></td>
                    <td align=middle class="12" style="HEIGHT: 21px"><div align="center"><c:if test="${sign==0}"><a href='Edit.action?ii=<s:property value="id"/>' class="mobanse">处理</a></c:if>
                    <c:if test="${sign==1}"><a href='Edit1.action?ii=${id}' class="mobanse">查看</a></c:if>
                    </div></td>
                  </tr>
                     </s:iterator>
                </tbody>
                 <td align="center" colspan="4">
  		 	
	  		  
	  		
	  		 <%
  String  name1=(String)request.getSession().getAttribute("name");  
  System.out.println("aa"+name1+"bb");
   %>
	  		
	  		<c:if test="${yi>1}">
	  		
	  		
	  			第<s:property value="pages"/>页  共<s:property value="allpage"/>页	
	  			<c:if test="${ss>3}">
	  		<a href="WorkYichuli.action?pages=1&sign=1">首页</a>
	 		<a href="WorkYichuli.action?sign=1&pages=<s:property value="allpage"/>">末页</a></c:if>
	 		<c:if test="${pages>1}"><a href="WorkYichuli.action?sign=1&pages=${pages-1}">上一页</a></c:if>
	 		<c:if test="${pages<allpage}"><a href="WorkYichuli.action?sign=1&pages=${pages+1}">下一页</a></c:if>
	 		</c:if><c:if test="${yii>1}">
	 			第<s:property value="pages"/>页  共<s:property value="allpage"/>页	
	  		<c:if test="${pages>1}"><a href="List.action?pages=${pages-1}">上一页</a></c:if>
	 		<c:if test="${pages<allpage}"><a href="List.action?pages=${pages+1}">下一页</a></c:if>
	 		
	 		<c:if test="${ss>3}">
	 		<a href="List.action?pages=1&sign=0">首页</a>
	 		<a href="List.action?sign=0&pages=<s:property value="allpage"/>">末页</a>
	 		</c:if></c:if>
	  	  </td>     
              </table>
              
              <TABLE height=27 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TBODY>
                  <TR> 
                    <TD class=button align=left bgColor=#d0d4e0> <DIV class=button style="WIDTH: 60px"></DIV></TD>
                  </TR>
                </TBODY>
              </TABLE>
            </DIV>
               
            <p class="da">&nbsp;</p>
            <div class=scroll id=div style="WIDTH: 100%; HEIGHT: 500px"><p>&nbsp;</p>
              <p>&nbsp;</p>
              <p><img src="images/banquan.jpg" width="780" height="42" class="xx"></p>
            </div></td>
        </tr>
      </table></td>
  </tr>
</table>
  
  </body>
</html>
 <script src="./ajax.js"></script>
  	<script language="JavaScript">
		var xmlhttp;
		function getXmlHttpRequest(){
			if (window.ActiveXObject) {
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			else 
				if (window.XMLHttpRequest) {
				
					xmlhttp = new XMLHttpRequest();
				}
		}
		function getclass(){
			
			getXmlHttpRequest();
			classname = document.getElementById("classname").value;
            phone = document.getElementById("phone").value;
             var url = encodeURI('lookuser.action?classname='+classname+'&phone='+phone+'&r='+Math.random());
			xmlhttp.open("get",url,true);
			xmlhttp.onreadystatechange= updatePage;
			xmlhttp.send(null);
		}
		function updatePage(){
			if(xmlhttp.readyState==4){
				
				if(xmlhttp.status==200){
					document.getElementById("username").innerHTML=xmlhttp.responseText;
				}
			}
		}
	</script>
